/**
 * 错误详情 - 一般都是调试过程进行显示
 */
type MsgType<T> = {
    desc: string; // 简单描述
    detail?: T; // 详情描述
};

export type ApiReturnType<T> = {
    readonly success: true | false;
    readonly data: object;
    readonly code: string;
    readonly msg: MsgType<T>;
    readonly timestamp: number;
};
